package com.jingdianjichi.auth.convert;

import com.jingdianjichi.auth.domain.entity.AuthRoleBO;
import com.jingdianjichi.auth.domain.entity.AuthRolePermissionBO;
import com.jingdianjichi.auth.dto.AuthRoleDTO;
import com.jingdianjichi.auth.dto.AuthRolePermissionDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthRolePermissionDTOConverter {
    AuthRolePermissionDTOConverter INSTANCE = Mappers.getMapper(AuthRolePermissionDTOConverter.class);
    AuthRolePermissionBO convertDtoToBoAuthRolePermission(AuthRolePermissionDTO authRoleDTO);
    AuthRolePermissionDTO convertBoAuthRolePermissionToDto(AuthRolePermissionBO authRoleBO);
}
